package org.pdai.basic;

public class StringExample {
    public static void main(String[] args) {
        String s1 = new String("aaa");
        String s2 = new String("aaa");
        System.out.println(s1 == s2);

        String s3 = s1.intern();
        System.out.println(s1.intern() == s3);
    }
}
